package com.itheima.pojo.admin;

import java.util.Date;

/**
 * @author ChenJunJie
 * @date 2022/6/14 14:40
 * 口味类
 */
public class FlavorsById {
    /**
     * 口味id
     */
    private String id;
    /**
     * 菜品id
     */
    private String dishId;
    /**
     * 口味名
     */
    private String name;
    /**
     * 口味属性值
     */
    private String value;
    /**
     * 是否已删除
     */
    private Integer isDeleted;
    /**
     * 显示选项
     */
    private boolean showOption;
    /**
     *创建时间
     */
    private Date createTime;
    /**
     *更新时间
     */
    private Date updateTime;
    /**
     *创建人
     */
    private String createUser;
    /**
     *修改人
     */
    private String updateUser;



    public FlavorsById() {
    }

    public FlavorsById(String id, String dishId, String name, String value, Integer isDeleted, boolean showOption, Date createTime, Date updateTime, String createUser, String updateUser) {
        this.id = id;
        this.dishId = dishId;
        this.name = name;
        this.value = value;
        this.isDeleted = isDeleted;
        this.showOption = showOption;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.createUser = createUser;
        this.updateUser = updateUser;
    }

    public boolean getShowOption() {
        return showOption;
    }

    public void setShowOption(boolean showOption) {
        this.showOption = showOption;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDishId() {
        return dishId;
    }

    public void setDishId(String dishId) {
        this.dishId = dishId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "FlavorsById{" +
                "id='" + id + '\'' +
                ", dishId='" + dishId + '\'' +
                ", name='" + name + '\'' +
                ", value='" + value + '\'' +
                ", isDeleted=" + isDeleted +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createUser='" + createUser + '\'' +
                ", updateUser='" + updateUser + '\'' +
                '}';
    }
}
